package com.elin4it.ssm.service;

import com.elin4it.ssm.pojo.UserAnswer;

import java.util.List;

/**
 * @Author:TY
 * @Descroption:
 * @Date: Created in 10:19 2018/4/9
 * @Modificd By:
 */
public interface UserAnswerService {
    /**
     * 插入rooid及openid
     * @param record
     */
    void insertSelective(UserAnswer record);
    /**
     * @dscription 查询对手得分以及选项情况
     * @param openid
     * @param room_id       List seGrade(String openid, int room_id);
     * @return
     */
    /**
     * @dscription 更新用户选项以及成绩
     * @param openid
     * @param room_id
     * @param result   void upGrade(String openid,int room_id,int result,int score);
     * @param score
     * @return
     */
    void updateByPrimaryKeySelective(UserAnswer record);//更新传入的题目信息
}
